package modele;
public class SimpleLetter extends Letter<String> {

	public SimpleLetter(Inhabitant s, Inhabitant r, String t) {
		super(s, r);
		content = t;
	}

	@Override
	public int getCost() {
		return NORMAL_COST;
	}

	@Override
	public void doAction() {
		System.out.println("~ Letter contained a message : << " + content + " >>");
	}

	@Override
	public String getType() {
		return "simple letter";
	}

}
